<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <title>给你画一个皮卡丘</title>
</head>
<body>
    <div id="demo"></div>
    <style id="demo2"></style>
    <div id="button">
        <button id="btnPause">暂停</button>
        <button id="btnNormal">播放</button>
        <button id="btnSlow">慢速</button>
        <button id="btnFast">快速</button>
    </div>
    <style>
        *{box-sizing: border-box;margin: 0;padding: 0;}
        *::before,*::after{box-sizing: border-box;margin: 0;padding: 0;}
        #button{
            display: flex;
            flex-direction: column;
            position: absolute;
            right: 0;
            top: 0;
            margin-top: 10px;
        }
        #button>button{
            margin-top: 5px;
            padding:3px;
        }
        #demo2{
            display: none;
        }
        #demo{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50vh;
            overflow-y: auto; /* 纵向的滚动条显示，横向的隐藏 */
        }
        #demo::-webkit-scrollbar{
            display: none;  /* 隐藏滚动条，但是用户可以通过鼠标滚轮滚动 */
        }
        .html{
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50vh;
        }
    </style>
    <div class="html">
        <div class="skin">
            <div class="eye left"></div>
            <div class="eye right"></div>
            <div class="nose">
                <div class="delta">
                    <div class="arc"></div>
                </div>
            </div>
            <div class="mouth">
                <div class="up">
                    <div class="lip left"></div>
                    <div class="lip right"></div>
                </div>
                <div class="down">
                    <div class="yuan1">
                        <div class="yuan2"></div>
                    </div>
                </div>
            </div>
            <div class="face left">
            </div>
            <div class="face right">
            </div>
        </div>
    </div>
    <script type="module" src="test.js"></script>
</body>
</html>